package zhousi;

import java.util.Arrays;

public class learn3 {
    public static void main(String [] args){
        char num[]={'q','w','a'};
        Arrays.sort(num);
        System.out.println(Arrays.toString(num));
        int  index=Arrays.binarySearch(num,'a');
        System.out.println(index);
    }
}
